package com.cloud.api.myenum;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.baomidou.mybatisplus.annotation.IEnum;
import com.fasterxml.jackson.annotation.JsonValue;

public enum PayTypeEnum implements IEnum<String> {
    WX_PAY("WX_PAY","微信支付");



    PayTypeEnum(String value, String desc) {
        this.value = value;
        this.desc = desc;
    }
    private String value;
    @EnumValue
    @JsonValue
    private String desc;

    @Override
    public String getValue() {
        return this.value;
    }
}
